package model;

import java.util.Date;

public class Bill {

	public int id;
	
	public String vendor;
	
	public Date billDate;
	
	public Date billDueDate;
	
	public int sum;
	
	public String whetherToPay;
	
	public String paymentMethod;
	
	public String chequeNumber;
	
	public Bill(String vendor,Date billDate,Date billDueDate,int sum,String whetherToPay,String paymentMethod){
		super();
		this.vendor = vendor;
		this.billDate = billDate;
		this.billDueDate = billDueDate;
		this.sum = sum;
		this.whetherToPay = whetherToPay;
		this.paymentMethod = paymentMethod;
		
	}
	
	public Bill(int id,String whetherToPay,String paymentMethod,String chequeNumber){
		super();
		this.id = id;
		this.whetherToPay = whetherToPay;
		this.paymentMethod = paymentMethod;
		this.chequeNumber = chequeNumber;
	}
	
	public Bill(String vendor,Date billDate,Date billDueDate,int sum){
		super();
		this.vendor = vendor;
		this.billDate = billDate;
		this.billDueDate = billDueDate;
		this.sum = sum;
	}
	
	public Bill() {
		super();
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getVendor() {
		return vendor;
	}
	public void setVendor(String vendor) {
		this.vendor = vendor;
	}
	public Date getBillDate() {
		return billDate;
	}
	public void setBillDate(Date billDate) {
		this.billDate = billDate;
	}
	public Date getBillDueDate() {
		return billDueDate;
	}
	public void setBillDueDate(Date billDueDate) {
		this.billDueDate = billDueDate;
	}
	public int getSum() {
		return sum;
	}
	public void setSum(int sum) {
		this.sum = sum;
	}
	public String getWhetherToPay() {
		return whetherToPay;
	}
	public void setWhetherToPay(String whetherToPay) {
		this.whetherToPay = whetherToPay;
	}
	public String getPaymentMethod() {
		return paymentMethod;
	}
	public void setPaymentMethod(String paymentMethod) {
		this.paymentMethod = paymentMethod;
	}
	public String getChequeNumber() {
		return chequeNumber;
	}
	public void setChequeNumber(String chequeNumber) {
		this.chequeNumber = chequeNumber;
	}
	
	
}
